﻿using System.ComponentModel.DataAnnotations;
using Identity;
using Identity.Searcher;

namespace JwtWebApi.Models
{
    public class LoginViewModel
    {
        [Required] public string UserName { get; set; }

        [Required]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [Display(Name = "Remember me?")] public bool RememberMe { get; set; }
    }

    public class FormalVendorSearcher : PermissionSearcher
    {
        public string StationName { get; set; }
        public string StationCode { get; set; }

    }
}